[INFO] cloning repository https://github.com/kotone-shiinoha/bitflyer_tools
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kotone-shiinoha/bitflyer_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkotone-shiinoha%2Fbitflyer_tools", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkotone-shiinoha%2Fbitflyer_tools'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9d8c14caa8d5451e55036cd7ad15e48b46602b7e
[INFO] checking kotone-shiinoha/bitflyer_tools against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkotone-shiinoha%2Fbitflyer_tools" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kotone-shiinoha/bitflyer_tools on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kotone-shiinoha/bitflyer_tools
[INFO] finished tweaking git repo https://github.com/kotone-shiinoha/bitflyer_tools
[INFO] tweaked toml for git repo https://github.com/kotone-shiinoha/bitflyer_tools written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/kotone-shiinoha/bitflyer_tools already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust_decimal_macros v1.23.1
[INFO] [stderr]   Downloaded rust_decimal v1.23.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0bc657880ceaf685d7a95b79fed52ef4d9618c0d54f432efeac32ce6cd7fe32
[INFO] running `Command { std: "docker" "start" "-a" "f0bc657880ceaf685d7a95b79fed52ef4d9618c0d54f432efeac32ce6cd7fe32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0bc657880ceaf685d7a95b79fed52ef4d9618c0d54f432efeac32ce6cd7fe32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0bc657880ceaf685d7a95b79fed52ef4d9618c0d54f432efeac32ce6cd7fe32", kill_on_drop: false }`
[INFO] [stdout] f0bc657880ceaf685d7a95b79fed52ef4d9618c0d54f432efeac32ce6cd7fe32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 937d1f7759fb996b80e41acca094c5328169923c398e7e4e0022323878867cb4
[INFO] running `Command { std: "docker" "start" "-a" "937d1f7759fb996b80e41acca094c5328169923c398e7e4e0022323878867cb4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking indexmap v1.8.1
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling rust_decimal v1.23.1
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling rust_decimal_macros v1.23.1
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking tokio v1.18.0
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking tungstenite v0.17.2
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.10
[INFO] [stderr]     Checking bitflyer_tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `mid_price`, `bids`, and `asks` are never read
[INFO] [stdout]  --> src/datatypes/board.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Board {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     mid_price: Decimal,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     bids: Vec<PriceLevel>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     asks: Vec<PriceLevel>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mid_price`, `bids`, and `asks` are never read
[INFO] [stdout]  --> src/datatypes/board.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Board {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     mid_price: Decimal,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     bids: Vec<PriceLevel>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     asks: Vec<PriceLevel>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PATH` is never used
[INFO] [stdout]  --> src/datatypes/cancel_order.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const PATH: &'static str = "/v1/me/cancelchildorder";
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PATH` is never used
[INFO] [stdout]  --> src/datatypes/cancel_order.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const PATH: &'static str = "/v1/me/cancelchildorder";
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `product_code` and `child_order_id` are never read
[INFO] [stdout]  --> src/datatypes/cancel_order.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct CancelOrder<'a> {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] 4 |     product_code: &'a str,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     child_order_id: &'a str,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `product_code` and `child_order_id` are never read
[INFO] [stdout]  --> src/datatypes/cancel_order.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct CancelOrder<'a> {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] 4 |     product_code: &'a str,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     child_order_id: &'a str,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `product_code` and `child_order_acceptance_id` are never read
[INFO] [stdout]   --> src/datatypes/cancel_order.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct CancelOrderByAcceptanceId<'a> {
[INFO] [stdout]    |            ------------------------- fields in this struct
[INFO] [stdout] 9  |     product_code: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     child_order_acceptance_id: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `product_code` and `child_order_acceptance_id` are never read
[INFO] [stdout]   --> src/datatypes/cancel_order.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct CancelOrderByAcceptanceId<'a> {
[INFO] [stdout]    |            ------------------------- fields in this struct
[INFO] [stdout] 9  |     product_code: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     child_order_acceptance_id: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/datatypes/execution.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Execution {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 6  |     id: i64,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 7  |     side: Side,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 8  |     price: Decimal,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 9  |     size: Decimal,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     exec_date: chrono::NaiveDateTime,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 11 |     buy_child_order_acceptance_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     sell_child_order_acceptance_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/datatypes/execution.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Execution {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 6  |     id: i64,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 7  |     side: Side,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 8  |     price: Decimal,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 9  |     size: Decimal,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     exec_date: chrono::NaiveDateTime,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 11 |     buy_child_order_acceptance_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     sell_child_order_acceptance_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `async` keyword is missing from the function declaration
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   | ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `async` keyword is missing from the function declaration
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   | ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bitflyer_tools::orderbook`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bitflyer_tools::orderbook::OrderBook;
[INFO] [stdout]   |                     ^^^^^^^^^ could not find `orderbook` in `bitflyer_tools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bitflyer_tools::orderbook`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bitflyer_tools::orderbook::OrderBook;
[INFO] [stdout]   |                     ^^^^^^^^^ could not find `orderbook` in `bitflyer_tools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<Value, serde_json::Error>` doesn't implement `std::fmt::Display`
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |         println!("{}", serde_json::to_value(json));
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<Value, serde_json::Error>` cannot be formatted with the default formatter
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::fmt::Display` is not implemented for `Result<Value, serde_json::Error>`
[INFO] [stdout]   = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]   = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<Value, serde_json::Error>` doesn't implement `std::fmt::Display`
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |         println!("{}", serde_json::to_value(json));
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<Value, serde_json::Error>` cannot be formatted with the default formatter
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::fmt::Display` is not implemented for `Result<Value, serde_json::Error>`
[INFO] [stdout]   = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]   = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitflyer_tools` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `bitflyer_tools` due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "937d1f7759fb996b80e41acca094c5328169923c398e7e4e0022323878867cb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "937d1f7759fb996b80e41acca094c5328169923c398e7e4e0022323878867cb4", kill_on_drop: false }`
[INFO] [stdout] 937d1f7759fb996b80e41acca094c5328169923c398e7e4e0022323878867cb4
